function [tcdata msg]= get(filename,sheet)

% GETDATA  read all data in a spreadsheet file
% 
% SYNTAX
% function tcdata = getdata(filename,sheet)
%
% Function return the test case data, expected result and its deviation 
%
% Input parameters:
%   filename    the spreadsheet file name.When it is not in current folder
%               filename must include its path.
%   sheet       the sheet name in spreadsheet
%
% Output parameters:
%   tcdata      textdata in sheet 
%   msg					error message when read the spreadsheet

% $Revision: 1.00 $ $Date: 2013/04/19 23:39:27 $
% Copyright (c) Changan New Energy Vechile,Chongqing LTD.,
% author:   Xiaobiao Huang, BCU

tcdata = {''};
msg = [];
try 
	[numeric, txt,tcdata] = xlsread(filename,sheet);
% 	[~, ~,tcdata] = xlsread(filename,sheet,'C:C');
catch exception
	msg = exception;
end
